<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Suntuk</title>
        <link rel="shortcut icon" href="favicon.png" />
        <link rel="stylesheet" href="style.css" />
        <script type="text/javascript" src="script.js"></script>
    </head>
    <body onload="$('inputnon').focus();">
    <center>
        <form id="theform" action="result.php" method="post" enctype="multipart/form-data">
            <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />
            <img style="margin-top: 100px; margin-bottom: 30px;" src="suntuk.png" />
            <div id="input_experimental" class="inputexp">
                <span style="font-style:italic; color: gray;">File Query:</span>
                <input type="file" name="queryfile" />
            </div>
            <div id="input_nonexperimental" class="inputnon">
                <input name="query" id="inputnon" onfocus="focusOnInputNon()" onblur="blurOnInputNon()" type="text" class="inputnonbef" value="Type here" />
            </div>
            <div id="mode" style="max-width: 250px; height: 18px;">
                <input class="radiox" type="radio" onclick="openBasic();" name="search_aim" checked="checked" value="nonexperimental">
                <span class="radiox">Basic</span>
                </input>
                <input type="radio" name="search_aim" onclick="openExp();" value="experimental">
                <span class="radiox">Experimental</span>
                </input> |
                <span class="radiox">Options</span>
                <input type="button" id="optionsbutton" class="optionsbutton" onclick="toggleOptions()" value="v" />
            </div>
            <div>
                <input type="submit" class="submitbutton" value="Search" />
            </div>
            <div id="options" class="options">
                <div class="optionssubgrouptitle">
                    Documents
                </div>
                <div class="docoptionssubgroup">
                    <div class="docoption">
                        <div class="docoptionfield">
                            File Stopword
                        </div>
                        <div class="docoptioninput">
                            <input type="radio" name="stopword" checked="checked" value="default">Default</input>
                            <input type="radio" name="stopword" value="custom">Custom</input><br />
                            <span class="radiox">Custom File Stopword:</span><br />
                            <input type="file" id="file_stopword" name="file_stopword"  />
                        </div>
                    </div>
                    <div class="docoption">
                        <div class="docoptionfield">
                            Koleksi Dokumen
                        </div>
                        <div class="docoptioninput">
                            <input type="radio" name="collection" checked="checked" value="default">Default</input>
                            <input type="radio" name="collection" value="custom">Custom</input><br />
                            <span class="radiox">Custom Koleksi Dokumen:</span><br />
                            <input type="file" id="document_collection" name="document_collection" />
                        </div>
                    </div>
                    <div class="docoption">
                        <div class="docoptionfield">
                            Relevance Judgement
                        </div>
                        <div class="docoptioninput">
                            <input type="radio" name="judgement" checked="checked" value="default">Default</input>
                            <input type="radio" name="judgement" value="custom">Custom</input><br />
                            <span class="radiox">Custom Relevance Judgement:</span><br />
                            <input type="file" id="relevance_judgement" name="relevance_judgement" />
                        </div>
                    </div>
                </div>
                <div class="optionssubgrouptitle">
                    Method
                </div>
                <div class="docoptionssubgroup">
                    <div class="metoption">
                        <input type="checkbox" checked="checked" name="stemming">Stemming</input><br />
                        <input type="checkbox" checked="checked" name="eliminate_stopword">Eliminate Stopwords</input><br />
                        <input type="checkbox" checked="checked" name="idf">Use IDF for Term Weighting</input><br />
                        <input type="checkbox" checked="checked" name="normalize">Normalize</input><br />
                    </div>
                    <div class="metoption">
                        <span class="radiox">TF Method:</span><br />
                        <input type="radio" name="tf" checked="checked" value="raw">Raw</input><br />
                        <input type="radio" name="tf" value="binary">Binary</input><br />
                        <input type="radio" name="tf" value="logarithmic">Logarithmic</input><br />
                        <input type="radio" name="tf" value="augmented">Augmented</input><br />
                    </div>
                </div>
            </div>
        </form>
    </center>
    <div class="footer">
        <div style="float:left">
            Tugas STBI 3
        </div>
        <div style="float:right; text-align: right;">
            &copy; Erdiansyah Fajar Nugraha, Widhaprasa Ekamatra Waliprana, Marhadiasha Kusumawardhana, Alwi Alfiansyah Ramdan 2011. All Rights Reserved.
        </div>
    </div>
</body>
</html>
